package risk.control.project.mapper.permission;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;

@Repository
@Mapper
public interface PermissionMapper {

    //根据用户名查询用户权限等级
    String queryPermissionLevelFromName(HashMap<String, String> params);


    //根据用户名Id查询用户权限等级
    String queryPermissionLevelFromID(HashMap<String, String> params);

}
